<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script>
        let arr=[11,22,33,44]
        let [a,b,c,d,e=10]=arr
        console.log(a,b,c,d,e);
        

        let person={
            name:"zhangsan",
            age:10
        }
        let {age,name}=person
        console.log(age,name);


        function showA([a,b,c]){
            console.log(a,b,c);
            
        }
        showA(arr)
        
    </script>
</head>
<body>
    
</body>
</html>